//////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////// 
// Local axis


#ifndef LOCAL_AXIS_H
#define LOCAL_AXIS_H

#include "geom/point3d.h"
#include "geom/matrix4x4.h"


// class localAxis
//////////////////////////////////////////////////////////////////////////
class localAxis
{
public:
  localAxis(void);
  ~localAxis(void);

  // axis position
  Point3D center;

  // axis orientation
  Point3D u, v, w;

#if 0
  // transformation matrix
  matrix4x4 matrixTransformation ();
  matrix4x4 matrixInvTransformation ();
#endif

  // transform point
  Point3D globaltoLocal (Point3D &pt);
  Point3D localtoglobal (Point3D &pt);
};

#endif